package com.learn.springcloud.dubbo.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: 胡伟
 * @Date: 2020/11/20 16:12
 * @Description:
 */
@Configuration
@ConfigurationProperties(prefix = "config")
@RefreshScope
@Getter
@Setter
public class Test {
    private String name;
    private Integer age;
}
